module.exports = function (Team) {
  Team.test = function (content, cb) {
    cb(null, content);
  };

  Team.remoteMethod('test', {
    description: '输入一个字符串，返回它',
    accepts: [{ arg: 'content', type: 'string', required: true }],
    http: { path: '/test', verb: 'get' },
    returns: { arg: 'ret', type: 'string', root: true, required: true },
  });
};
